import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const LOG: AppRouteRecordRaw = {
  path: '/log',
  name: 'Log',
  component: DEFAULT_LAYOUT,
  children: [
    {
      path: 'loginLog',
      name: 'LoginLog',
      component: () => import('@/views/log/loginlog/index.vue'),
      meta: {
        locale: 'menu.log.loginlog',
        requiresAuth: true,
      },
    },
    {
      path: 'operationLog',
      name: 'OperationLog',
      component: () => import('@/views/log/operationlog/index.vue'),
      meta: {
        locale: 'menu.log.operationlog',
        requiresAuth: true,
      },
    },
  ],
};

export default LOG;
